/**
 * Created by truncate on 2017/9/30.
 */
@import '~iview/src/styles/index.less';

.pr8 {
  padding-right: 8px;
}
.mg15 {
  margin: 15px;
}

.mb15 {
  margin-bottom: 15px;
}

.mt15 {
  margin-top: 15px;
}

.ml15 {
  margin-left: 15px;
}

.mr15 {
  margin-right: 15px;
}

.pd15 {
  padding: 15px;
}

.prd15 {
  padding-right: 15px;
}

.pld15 {
  padding-left: 15px;
}

.ptd15 {
  padding-top: 15px;
}

.pbd15 {
  padding-bottom: 15px;
}

.bg-2c3d1 {
  background-color: #2cc3d1;
}

.bg-e68a5c {
  background-color: #e68a5c;
}

.bg-36a4e3 {
  background-color: #36a4e3;
}

.tag-radius {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: #e9eaec;
  display: inline-block;
  position: relative;
  top: 1px;
}

.bg-green {
  background-color: #19be6b;
}

.bg-blue {
  background-color: #2d8cf0;
}

.bg-gray {
  background-color: gray;
}

.bg-red {
  background-color: #ed3f14;
}

.bg-yellow {
  background-color: #f90;
}

/**
 * 登陆表单重写
 */
.login-container {
  .ivu-input {
    height: 50px;
  }
  .ivu-btn-primary {
    display: inline-block;
    padding: 10px 24px;
    margin: 0px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    color: #ffffff;
    background-color: #27A9E3;
    border-radius: 5px;
    border: none;
    -webkit-appearance: none;
    outline: none;
    width: 100%;
  }
  .ivu-form-item:nth-child(3) {
    position: relative;
  }
  .ivu-form-item:nth-child(3) .ivu-input {
    width: 180px;
  }
}

/** 菜单额外样式 **/
.manage-menu {

  //鼠标滑过菜单样式
  .ivu-menu-item:hover, .ivu-menu-primary.ivu-menu-horizontal .ivu-menu-submenu-active, .ivu-menu-primary.ivu-menu-horizontal .ivu-menu-submenu:hover {
    background: #c7e8ff;
    color: #1581ca;
  }
  //鼠标滑过菜单样式
  .ivu-menu-light.ivu-menu-vertical:hover .ivu-menu-submenu-title:hover {
    background: #c7e8ff;
    color: #1581ca;
  }
  //父级菜单选中样式
  .ivu-menu-light.ivu-menu-vertical .ivu-menu-opened .ivu-menu-submenu-title {
    background: #c7e8ff;
    color: #1581ca;
  }
  .ivu-menu-vertical .ivu-menu-item, .ivu-menu-vertical .ivu-menu-submenu-title {
    padding: 14px 35px;
  }

  .ivu-menu-item a {
    color: #495060;
  }

  .ivu-menu-vertical .ivu-menu-item {
    padding: 0px 0px;
  }
  .ivu-menu-submenu-title > i, .ivu-menu-submenu-title span > i {
    margin-right: 15px;
  }
  //子菜单样式
  .ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item {
    padding-left: 0;
    background: #c7e8ff;

    //子菜单文字颜色
    a {
      color: #1581ca;
      display: block;
      padding: 14px 20px 14px 66px;
    }
  }
}

//地图搜索样式
.map-contain {
  .form .ivu-input-group-large .ivu-input, .form .ivu-input-group-large > .ivu-input-group-prepend, .form .ivu-input-group-large > .ivu-input-group-append {
     height: 45px;
  }
  .ivu-input-group-append, .ivu-input-group-prepend {
    background: #ffffff;
  }
  .form .bnt-search i {
    font-size: 24px;
  }
  .ivu-input {
    height: 45px;
    //border: transparent;
    //border-radius: 0;
  }
  //.ivu-select-single .ivu-select-selection {
  //  height: 45px;
  //}
  //.ivu-select-single .ivu-select-selection .ivu-select-placeholder, .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
  //  height: 43px;
  //  line-height: 43px;
  //}
  //.ivu-select-selection {
  //  border: transparent;
  //  border-right: 1px solid #dddee1;
  //  border-radius: 0;
  //}
  //.ivu-btn {
  //  border: transparent;
  //  border-left: 1px solid #dddee1;
  //  border-radius: 0;
  //}
}
.org-group .ivu-tree-arrow {
  padding-right: 6px;
}
